package com.manolo.client.entity;

import java.util.StringTokenizer;

import com.manolo.client.util.Util;

public class Message {

	
	private int id;
	
	private int idSend;

	private String name;

	private String content;

	public int getId() {
		return id;
	}

	public int getIdSend() {
		return idSend;
	}

	public String getName() {
		return name;
	}

	public String getContent() {
		return content;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setIdSend(int idSend) {
		this.idSend = idSend;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	public Message() {
		// TODO Auto-generated constructor stub
	}
	
	public Message(int id, int idSend, String name, String content) {
		this.id = id;
		this.idSend = idSend;
		this.name = name;
		this.content = content;
	}
	
	public Message(int id) {
		this.id = id;
	}

	@Override
	public String toString() {
		return "Message [id=" + id + ", idSend=" + idSend + ", name=" + name
				+ ", content=" + content + "]";
	}
	

}
